﻿<%@ Page Title="Sign-In - Traditional Maltese Cuisine" Language="C#" MasterPageFile="~/MainMasterPage.master" AutoEventWireup="true" CodeBehind="SignIn.aspx.cs" Inherits="TraditionalMalteseCuisine.SignIn" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContentPlaceHolder" runat="server">
    <asp:ValidationSummary ID="vsyValidationSummary" runat="server" HeaderText="Please note that:" CssClass="validation_summary" />
    <div id="control_wrapper" style="width: 35%;">
        <table style="width: 100%;">
            <tr><td colspan="3"><div class="title">LOGIN<asp:CustomValidator ID="csvUsernameExists" runat="server" ErrorMessage="Incorrect Username and/or Password">&nbsp;*</asp:CustomValidator></div></td></tr>
            <tr><td colspan="3">&nbsp;</td></tr>
            <tr>
                <td class="middle_right"><asp:Label ID="lblUsername" runat="server" Text="Username:" CssClass="label" /></td>
                <td class="middle_left" style="width: 75%;"><asp:TextBox ID="txtUsername" runat="server" CssClass="textbox" />
                </td>
                <td class="middle_left"><asp:RequiredFieldValidator ID="rfvUsername" runat="server" ErrorMessage="Username field cannot be empty" ControlToValidate="txtUsername" SetFocusOnError="True" >*</asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td class="middle_right"><asp:Label ID="lblPassword" runat="server" Text="Password:" CssClass="label" /></td>
                <td class="middle_left" style="width: 75%;"><asp:TextBox ID="txtPassword" runat="server" CssClass="textbox" TextMode="Password" />
                </td>
                <td class="middle_left"><asp:RequiredFieldValidator ID="rfvPassword" runat="server" ErrorMessage="Password field cannot be empty" ControlToValidate="txtPassword" SetFocusOnError="True" >*</asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td>&nbsp;</td>
                <td>
                    <span style="float: left;"><a href="ForgotPassword.aspx">Forgot Password?</a></span>
                    <span class="label" style="float: right;"><asp:CheckBox ID="chkRememberMe" runat="server" Text="Remeber Me" AutoPostBack ="false" /></span>
                </td>
                <td>&nbsp;</td>
            </tr>
            <tr><td colspan="3">&nbsp;</td></tr>
            <tr><td colspan="3" style="text-align: right;"><asp:Button ID="btnLogin" runat="server" Text="Login" CssClass="button" OnClick="btnLogin_Click" /></td></tr>
            <tr><td colspan="3">&nbsp;</td></tr>
        </table>
    </div>
</asp:Content>
